package com.ayu.chatroom.exceptionHandler;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @Author: 徐林玉//作者及
 * @Date: 2021/10/19//完成日期
 * @Description: //
 * @Version: v0.0.1 // 版本信息
 * @Function List: // 自定义异常
 * @Others: // 其它内容的说明
 * @History: // 历史修改记录
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class CustomRuntimeException extends RuntimeException
{

	private Integer code = 500;

	private String message;

	public CustomRuntimeException(String message)
	{
		this.message = message;
	}
}
